<template>
  <div class="ProjInfo_topLeft">
    <div class="back">
      <div class="title">项目概况</div>
      <div class="content">
        <div class="desc">
          <div class="oneLine" v-for="(item, i) in gaikuangData" :key="i">
            <div class="oneLineLeft">
              <span :style="{
                width: item.width,
                letterSpacing: item.spacing,
                marginRight: '-' + item.spacing,
                display: 'block'
              }">
                {{ item.title }}
              </span>
              <span style="padding-right: 5px;display: block;">:</span>
            </div>
            <div class="oneLineRight" v-html="item.content"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {},
  components: {},
  data () {
    return {
      gaikuangData: [
        {
          title: '桥址',
          content: '跨长江主航道，经录安洲，跨长江夹江，止于常州市新北区港区大道',
          spacing: '2em',
          width: '8em'
        },
        {
          title: '桥型',
          content: '双层斜拉桥（1176/2+490+142）米<br />连续钢桁梁桥（3×124）米<br />钢桁拱桥（168+388+168）米<br />预应力混凝土梁桥（2390）米',
          spacing: '2em',
          width: '8em'
        },
        {
          title: '道路等级',
          content: '高速公路<br />一级公路<br />城际铁路',
          spacing: '0',
          width: '8em'
        },
        {
          title: '设计速度',
          content: '100公里/小时（高速公路）<br />80公里/小时（一级公路）<br />100公里/小时（城际铁路）',
          spacing: '0',
          width: '8em'
        },
        {
          title: '行车道数',
          content: '双向六车道（高速公路）<br />双向四车道（一级公路）',
          spacing: '0',
          width: '8em'
        },
        {
          title: '气温',
          content: '年平均15.9℃   最高40.6℃   最低-15.5℃',
          spacing: '2em',
          width: '8em'
        },
        {
          title: '通航水位',
          content: '最高+5.8m    最低-0.7m',
          spacing: '0',
          width: '8em'
        },
        {
          title: '地形',
          content: '桥址江面宽约5.7km，河床断面呈VVV形三槽形态',
          spacing: '2em',
          width: '8em'
        }
      ]
    }
  },

  watch: {},

  created () {},

  mounted () {},

  methods: {}
}
</script>
<style lang="less" scoped>
.ProjInfo_topLeft {
  width: 22%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: url("../../assets/projInfo/背景.png");
  background-size: 100% 100%;
  .back {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    // background: url("../../assets/projInfo/左上.png");
    // background-size: 100% 100%;
    .title {
      width: 100%;
      height: 30px;
      color: #fff;
      font-size: 20px;
      line-height: 30px;
      padding-left: 5px;
      background: url("../../assets/projInfo/上.png");
      background-size: 100% 100%;
    }
    .content {
      width: 100%;
      height: calc(100% - 30px);
      //margin: 5px;
      background: url("../../assets/projInfo/下.png");
      background-size: 100% 100%;
      .desc {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        > div {
          width: 100%;
          padding: 9px 0;
          display: flex;
        }
        .oneLineLeft {
          width: 122px;
          font-size: 15px;
          color: #07ffd7;
          text-align: right;
          display: flex;
          justify-content: flex-end;
        }
        .oneLineRight {
          display: inline-block;
          width: 268px;
          font-size: 15px;
          color: #fff;
          text-align: left;
        }
      }
    }
  }
}
</style>
